package com.perfect.component;

import feign.Client;
import feign.Request;
import feign.Response;
import org.springframework.web.client.RestTemplate;

import java.io.IOException;

/**
 * feign 拓展点: 使用自定义http 请求
 */
//@Component
public class CustomFeignExcute implements Client {

    //    @Autowired
    private RestTemplate restTemplate;


    @Override
    public Response execute(Request request, Request.Options options) throws IOException {

        //restTemplate 发送请求
        return null;
    }
}
